<div class="modal-cases-component">
  <form dForm [layout]="layoutDirection" [dValidateRules]="formRules.rule" ngForm #newCollectionForm="dValidateRules">
    <d-form-item>
      <d-form-label [required]="true">集合名</d-form-label>
      <d-form-control>
        <div style="width: 100%">
          <input dTextInput autocomplete="off" name="collectionName" placeholder="请输入集合名" [(ngModel)]="collectionName"
            (ngModelChange)="formChange()" [dValidateRules]="formRules.collectionName" />
        </div>
      </d-form-control>
    </d-form-item>
  </form>
</div>
